<extend name="Index:index" />
    <block name="nav1">
        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="#">Admin</a>
            </li>
            <li class="active">用户管理</li>
        </ul><!-- .breadcrumb -->
    </block>

    <block name="nav2">
        <h1>
        用户管理
            <small>
                <i class="icon-double-angle-right"></i>
                信息查询
            </small>
        </h1>
    </block>
    <block name="main">
        <div class="row">
            <div class="col-xs-12">
               <p>
                给 <b><{$role.rname}></b> 分配权限
            </p>
            
            <form action="<{:U('Role/savenode')}>" method='post'>
            <p style="width:800px">
                <volist name="nodes" id="vo"> 
                    <input type="checkbox" name="node[]"  value="<{$vo.id}>" <if condition="in_array($vo['id'],$ro_nodes) eq true">checked</if>><{$vo.name}>&nbsp;&nbsp;
                    <if condition="$i%4 eq 0 "><br></if>
                </volist>
            </p>
            <input type="hidden" name="rid" value="<{$role.id}>">
            <input type="submit" value="保 存" class="btn btn-primary">

            </form>
            </div>
        </div>
    </block>